#!/usr/bin/python

"""
    Update information on the last watched programmes from the commandline
"""

from configuration import *

import shelve, xml.dom.minidom, time, os, os.path, urllib,re, sys, BitTorrent.bencode 
infoStore = shelve.open(os.path.expanduser(infoStoreFilename))

programme, lastWatched = sys.argv[1:]
infoStore["Prog: %s" % programme] = eval(lastWatched)
